<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <!-- hello comment -->
    <div id="box">hello div</div>
    <script>
      const nodes = document.body.childNodes;

      const div = nodes[3];
      console.log(div.__proto__ === HTMLDivElement.prototype);
      console.log(HTMLDivElement.prototype.__proto__ === HTMLElement.prototype);
      console.log(HTMLElement.prototype.__proto__ === Element.prototype);
      console.log(Element.prototype.__proto__ === Node.prototype);
      console.log(Node.prototype.__proto__ === EventTarget.prototype);
      console.log(EventTarget.prototype.__proto__ === Object.prototype);
      console.log(Object.prototype.__proto__);
    </script>
  </body>
</html>
